<?
	include("includes/dvt_config.php");
	require_once("verify_code.php");
	$mod = $_GET['mod'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<head><title>Chocuatui.vn - Mua bán - Rao vặt</title>
	<link rel="shortcut icon" href="<?=$root?>/favicon.icon" />
    <meta content="#" name="description" />
    <meta content="#" name="keywords" />    
	<script language="JavaScript" src="<?=$root?>/js/home.js"></script>
	<script type="text/javascript" src="<?=$root?>/js/lib.js"></script>
	<script type="text/javascript" src="<?=$root?>/js/checkForm.js"></script>
	<script type="text/javascript" src="<?=$root?>/js/checkboxall.js"></script>
	<script type="text/javascript" src="<?=$root?>/js/startup.js"></script>
	<link rel="stylesheet" type="text/css" href="<?=$root?>/themes/base/header.css" />
	<link rel="stylesheet" type="text/css" href="<?=$root?>/themes/base/menu.css" rel="stylesheet" />
	<link rel="stylesheet" type="text/css" href="<?=$root?>/themes/base/content.css" rel="stylesheet" />
	<link rel="stylesheet" type="text/css" href="<?=$root?>/themes/base/footer.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="<?=$root?>/themes/base/layout67a7.css" />
	<link rel="stylesheet" type="text/css" href="<?=$root?>/themes/base/messagebox.css" />
	<link rel="stylesheet" type="text/css" href="<?=$root?>/themes/base/product.css" />
	<script type="text/javascript" src="<?=$root?>/js/jquery.js"></script>
	<script language="JavaScript" type="text/javascript" src="<?=$root?>/galleria/galleria-1.2.5.min.js"></script>
	<!-- jcarousel -->
	<!--
	  jCarousel library
	-->
	<script type="text/javascript" src="<?=$root?>/jcarousel/jquery.jcarousel.min.js"></script>
	<!--
	  jCarousel skin stylesheet
	-->
	<link rel="stylesheet" type="text/css" href="<?=$root?>/jcarousel/skin.css" />
	
	<!-- EDITOR -->
		<script type="text/javascript" src="<?=$root?>/jscripts/tiny_mce/tiny_mce.js"></script>
		<script type="text/javascript">
			// O2k7 skin
				tinyMCE.init({
					// General options
					mode : "exact",
					elements : "elm2",
					theme : "advanced",
					skin : "o2k7",
					plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups",
			
					// Theme options
					theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
					theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
					theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
					theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
					theme_advanced_toolbar_location : "top",
					theme_advanced_toolbar_align : "left",
					theme_advanced_statusbar_location : "bottom",
					theme_advanced_resizing : true,
					height: "100%",
					width: "100%",
			
					// Example content CSS (should be your site CSS)
					content_css : "css/content.css",
			
					// Drop lists for link/image/media/template dialogs
					template_external_list_url : "lists/template_list.js",
					external_link_list_url : "lists/link_list.js",
					external_image_list_url : "lists/image_list.js",
					media_external_list_url : "lists/media_list.js",
			
					// Replace values for the template plugin
					template_replace_values : {
						username : "Some User",
						staffid : "991234"
					}
				});
			////////////////////////////////////////////////////////
			// O2k7 skin
				tinyMCE.init({
					// General options
					mode : "exact",
					elements : "elm1",
					theme : "advanced",
					skin : "o2k7",
					plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups",
			
					// Theme options
					theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
					theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
					theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
					theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
					theme_advanced_toolbar_location : "top",
					theme_advanced_toolbar_align : "left",
					theme_advanced_statusbar_location : "bottom",
					theme_advanced_resizing : true,
			
					// Example content CSS (should be your site CSS)
					content_css : "css/content.css",
			
					// Drop lists for link/image/media/template dialogs
					template_external_list_url : "lists/template_list.js",
					external_link_list_url : "lists/link_list.js",
					external_image_list_url : "lists/image_list.js",
					media_external_list_url : "lists/media_list.js",
			
					// Replace values for the template plugin
					template_replace_values : {
						username : "Some User",
						staffid : "991234"
					}
				});

		</script>
	<!-- EDITOR -->
	<style>
		a {
			color: #02339a;
			text-decoration: none;
		}
		a:hover {
			text-decoration: underline;
		}

	</style>
</head>
<body>
    <div id="container" align="center">
		<?	
			global $global_id;
			global $global_ten;
			file_exist("includes/inc_banner.php");
			include("includes/inc_banner.php");
		?>
		<div id="content">  
		<!-- Main Page-Content { -->    
			<div class="page-content">
				<!-- group-body { -->
					<div class="content-left">
				
				
				<!-- showcase -->
					<?
						switch($mod){
							case 'home':
								file_exist('module/home.php');
								include('module/home.php');
							break;
							case 'dangki':
								file_exist('module/dangki.php');
								include('module/dangki.php');
							break;
							case 'dangnhap':
								file_exist('module/dangnhap.php');
								include('module/dangnhap.php');
							break;
							case 'chungloai':
								file_exist('module/chungloai.php');
								include('module/chungloai.php');
							break;
							case 'chitietsp':
								file_exist('module/chitietsp.php');
								include('module/chitietsp.php');
							break;
							case 'gopy':
								file_exist('module/gopy.php');
								include('module/gopy.php');
							break;
							case 'dangban':
								file_exist('module/dangban.php');
								include('module/dangban.php');
							break;
							case 'suataikhoan':
								file_exist('module/suataikhoan.php');
								include('module/suataikhoan.php');
							break;
							case 'doimatkhau':
								file_exist('module/doimatkhau.php');
								include('module/doimatkhau.php');
							break;
							case 'thanhvien':
								file_exist('module/thanhvien.php');
								include('module/thanhvien.php');
							break;
							case 'sanphamluu':
								file_exist('module/sanphamluu.php');
								include('module/sanphamluu.php');
							break;
							case 'tinnhan':
								file_exist('module/tinnhan.php');
								include('module/tinnhan.php');
							break;
							case 'ketban':
								file_exist('module/ketban.php');
								include('module/ketban.php');
							break;
							case 'sanpham':
								file_exist('module/sanpham.php');
								include('module/sanpham.php');
							break;
							case 'capnhatsp':
								file_exist('module/capnhatsp.php');
								include('module/capnhatsp.php');
							break;
							case 'tintuc':
								file_exist('module/tintuc.php');
								include('module/tintuc.php');
							break;
							case 'chitiettintuc':
								file_exist('module/chitiettintuc.php');
								include('module/chitiettintuc.php');
							break;
							case 'banbe':
								file_exist('module/banbe.php');
								include('module/banbe.php');
							break;
							case 'tuychon':
								file_exist('module/tuychon.php');
								include('module/tuychon.php');
							break;
							case 'raovat':
								file_exist('module/raovat.php');
								include('module/raovat.php');
							break;
							case 'dangtinraovat':
								file_exist('module/dangtinraovat.php');
								include('module/dangtinraovat.php');
							break;
							case 'chitietraovat':
								file_exist('module/chitietraovat.php');
								include('module/chitietraovat.php');
							break;
							case 'suatinraovat':
								file_exist('module/suatinraovat.php');
								include('module/suatinraovat.php');
							break;							
							case 'timkiem':
								file_exist('module/timkiem.php');
								include('module/timkiem.php');
							break;
							case 'quenmatkhau':
								file_exist('module/quenmatkhau.php');
								include('module/quenmatkhau.php');
							break;
							default:
								file_exist('module/home.php');
								include('module/home.php');
							break;
							
						}
					?>			
				<!-- } showcase -->
				</div>
				<div class="content-right"  <?if($_SERVER['REQUEST_URI'] == $root.'/trang-chu/' || $_SERVER['REQUEST_URI'] == $root."/"){?> style="display:block;" <?} ?> >
					<?
						file_exists('includes/inc_quangcao.php');
						require('includes/inc_quangcao.php');
					?>					                         
				</div>
				<!-- } group-body -->		
			</div>     
			<!-- } Main Page-Content --> 
			<div class="clearfix"></div>   
		</div>
            
		<!-- footer { -->
		<!--//Footer//-->


<div id="box-footer">
	
    <div id="box-footer-new">
        <div id="content-footer-new">

            <div class="colum" style="width:145px">
                <div class="title_footer_new">Chocuatui.vn</div>
                <ul id="u_f_new">
                    <li><a href="<?=$root?>/gioithieu.php" rel="nofollow" target="_blank">Giới thiệu</a></li>
                    <li><a href="<?=$root?>/quyche.php" target="_blank" rel="nofollow">Quy chế</a></li>
                    <li><a href="<?=$root?>/help.php" rel="nofollow" target="_blank">Trợ giúp</a></li>
                    <li><a href="<?=$root?>/contactads.php" rel="nofollow">Liên hệ quảng cáo</a></li>

                </ul>
            </div>
            <div class="colum" style="width:120px">
                <div class="title_footer_new"><a href="/sitemap.html" style="color: #616161">Chuyên mục</a></div>
                <ul id="u_f_new">
                    <li><a href="http://chocuatui.vn/danh-muc-san-pham/25/thoi-trang">Thời trang</a></li>
                    <li><a href="http://chocuatui.vn/danh-muc-san-pham/18/nha-cua">Nhà cửa</a></li>
                    <li><a href="http://chocuatui.vn/danh-muc-san-pham/3/dien-may">Điện máy</a></li>
                    <li><a href="http://chocuatui.vn/danh-muc-san-pham/4/my-pham-trang-suc">Mỹ phẩm, trang sức</a></li>
                    <li><a href="http://chocuatui.vn/danh-muc-san-pham/2/o-to">Ô tô</a></li>
                    <li><a href="http://chocuatui.vn/danh-muc-san-pham/68/nha-dat">Nhà đất</a></li>
                </ul>
            </div>
            <div class="colum" style="width:175px">
               <!--
                <div class="title_footer_new">Quy định đăng tin</div>
                <ul id="u_f_new">
                    <li><a href="" rel="nofollow" target="_blank">Quy định đăng tin chung</a></li>
                    <li><a href="" rel="nofollow" target="_blank">Quy định kiểm duyệt</a></li>
                    <li><a href="#" target="_blank" rel="nofollow">Quy trình khiếu nại, tố cáo</a></li>
                </ul>
                -->
            </div>

            <div class="colum">
                <div class="title_footer_new">Kết nối</div>
                <ul id="u_f_new">
                    <li><a href="" target="_blank" rel="nofollow">Yahoo</a></li>
                    <li><a href="" target="_blank" rel="nofollow">Facebook</a></li>
                </ul>

                
                <div id="fb-root"></div>

                <script>
                    
                    (function(d, s, id) {
                  var js, fjs = d.getElementsByTagName(s)[0];
                  if (d.getElementById(id)) {return;}
                  js = d.createElement(s); js.id = id;
                  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
                  fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));
                    
                </script>

                

            </div>
            <div class="columRight">
                <div class="supportBubble">
                    <div style="padding-left: 10px; line-height:150%">
                        <strong>Hỗ trợ khách hàng</strong><br>
                        <b>TPHCM:<br/>
                        Tel: 0932080123
                        </b>                        
                    </div>
                  </div>
            </div>
            
            <div style="clear:both;"></div>
        </div>

    </div>

    <div style="clear:both;"></div>    
    <div id="copyright">
            <div style="float: left;"><a href="http://dangkywebsite.gov.vn/vn/websites/37/index.html" target="_blank"><img src="style/images/icon_register.png" /></a></div>

            <div align="left" style="width: 59%; float: left;padding-top: 4px;padding-left: 5px;color: #9c9a9e">
                            Copyright &copy; 2011 <a href="http://chocuatui.vn" style="color: #9c9a9e">Chocuatui.vn</a>. <br>
            </div>
            <div align="left" id="line_bottom">

            <a href="" >Sitemap</a> <font size="1" style="color: #9c9a9e"> | </font>
            <a href="<?=$root?>/quyche.php" rel="nofollow">Quy chế Chocuatui</a>
                                </div>
        <div style="clear: left;"><span></span></div>
    </div>
</div>
		<!-- } footer -->
	</div>    
</body>
<!-- Histats.com  START  -->
<a href="http://www.histats.com" target="_blank" title="php hit counter" >
	<script  type="text/javascript" language="javascript">
		var s_sid = 754707;var st_dominio = 4;
		var cimg = 0;var cwi =150;var che =30;
	</script>
</a>
<script  type="text/javascript" language="javascript" src="http://s10.histats.com/js9.js"></script>
<noscript>
	<a href="http://www.histats.com" target="_blank">
		<img  src="http://s4.histats.com/stats/0.gif?754707&1" alt="php hit counter" border="0">
	</a>
</noscript>
<!-- Histats.com  END  -->
</html>